package com.oracle.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.oracle.pojo.Equipment;

import java.util.List;


public interface EquipmentService {
    IPage<Equipment> findEquipmentPage(Integer pageNum, Integer pageSize, QueryWrapper<Equipment> queryWrapper);
    List<Equipment> findAllEquipment();
    Equipment findOneEquipment(Integer equipmentId);
    int insertEquipment(Equipment equipment);
    int updataEquipment(Equipment equipment);
    int updataState(Equipment equipment);
    int deleteEquipment(Integer equipmentId);

}
